Modern Debian development workflows involve packaging with Git and the primary tool for doing that is git-buildpackage. git-buildpackage provides a gbp
command with several options similar to the git
command itself. Many of these commands are themselves just a wrapper of lower-level Debian tools, so the complexity to learning packaging can be quite high.
To get around that, here are the short & simple steps to getting started with git-buildpackage. This should work on nearly any Debian-based distribution, but I recommend working on this in a clean and separate environment a Debian Unstable virtual machine.
sudo apt install git-buildpackage
~/.gbp.conf
, ~/.pbuilderrc
, and ~/.quiltrc
sudo git-pbuilder create
gbp clone --all <URL>
cd
gbp buildpackage -us -uc
../build-area/
.Расположение: ~/.gbp.conf
https://gitlab.com/kkremitzki/dotfiles/blob/master/.gbp.conf
Расположение: ~/.pbuilderrc
https://gitlab.com/kkremitzki/dotfiles/blob/master/.pbuilderrc
Расположение: ~/.quiltrc
https://gitlab.com/kkremitzki/dotfiles/blob/master/.quiltrc